module.exports = {
  apps: [
    {
      name: "my-server",
      script: "./index.js",
      instances: 4,
      exec_mode: "fork",
      watch: true,
      max_memory_restart: "200M",
      env: { NODE_ENV: "development", PORT: 3000 },
      env_production: { NODE_ENV: "production", PORT: 8089 },
    },
  ],
};
